﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="Driver_Modify.aspx.cs" Inherits="WebUI.Driver.Driver_Modify" %>

<asp:Content ID ="Content1" ContentPlaceHolderID ="ContentPlaceHolder1" runat="server">
    <table>
        <tr>
            <td colspan="2" style="height: 21px">
                <asp:Label ID="lbDriverSn" runat="server" Text="驾驶员编号："></asp:Label><asp:Label ID="lbPersonSn" runat="server"></asp:Label></td>
        </tr>
        <tr>
            <td style="width: 106px">
                驾驶员姓名：</td>
            <td style="width: 101px">
                <asp:TextBox ID="txtPersonName" runat="server" ForeColor="#404040"></asp:TextBox>
                </td>
                    <td style="text-align:left;"><asp:RequiredFieldValidator ID="RFValidatorPersonName" runat="server" ControlToValidate="txtPersonName"
                    ErrorMessage="*">请输入姓名</asp:RequiredFieldValidator></td>
                   
        </tr>
        <tr>
            <td style="width: 106px">
                驾驶类型：</td>
            <td style="width: 101px; text-align: left;">
                <asp:DropDownList ID="ddrDriverType" runat="server" ForeColor="#404040">
                    <asp:ListItem>大型车</asp:ListItem>
                    <asp:ListItem>中型车</asp:ListItem>
                    <asp:ListItem>小型车</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td style="width: 106px">
                驾照等级：</td>
            <td style="width: 101px">
                <asp:TextBox ID="txtLicence" runat="server" ForeColor="#404040"></asp:TextBox>
               </td>
                       <td style="text-align:left;"><asp:RequiredFieldValidator ID="RFValidatorLicence" runat="server" ControlToValidate="txtLicence"
                    ErrorMessage="*">请输入驾照等级</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 106px">
                联系电话：</td>
            <td style="width: 101px">
                <asp:TextBox ID="txtTel" runat="server" ForeColor="#404040"></asp:TextBox>
                </td>
                       <td style="text-align:left;"><asp:RequiredFieldValidator ID="RFValidatorTel" runat="server" ControlToValidate="txtTel"
                    ErrorMessage="*">请输入联系电话</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="REValidatorTel" runat="server" ControlToValidate="txtTel"
                    ErrorMessage="*" ValidationExpression="^(0[0-9]{2,3}\-)?([2-9][0-9]{6,7})+(\-[0-9]{1,4})?$">区号-号码</asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style="width: 106px">
                联系地址：</td>
            <td style="width: 101px">
                <asp:TextBox ID="txtAddress" runat="server" ForeColor="#404040"></asp:TextBox>
                </td>
                     <td style="text-align:left;"><asp:RequiredFieldValidator ID="RFValidatorAddress" runat="server" ControlToValidate="txtAddress"
                    ErrorMessage="*">请输入联系地址</asp:RequiredFieldValidator></td>  
        </tr>
        <tr>
            <td style="width: 106px; height: 21px">
                驾驶员状态：</td>
            <td style="width: 101px; height: 21px; text-align: left;">
                <asp:DropDownList ID="ddrStateType" runat="server" ForeColor="#404040">
                    <asp:ListItem>正常</asp:ListItem>
                    <asp:ListItem>运行</asp:ListItem>
                    <asp:ListItem>休假</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Button ID="btnModify" runat="server" Text="修改" OnClick="btnModify_Click" ForeColor="#404040" />
                <asp:Button ID="btnReset" runat="server" Text="重置" OnClick="btnReset_Click" ForeColor="#404040" /></td>
        </tr>
    </table>
    &nbsp;
</asp:Content>
